/**
 * (C) Copyright 2020 Ymatou (http://www.ymatou.com/).
 *
 * All rights reserved.
 */
package com.ymatou.iapi.thirdpartysync.parameter;

public class PromotionDto {
	private int id;
	private String productId;
	private String mainPic;
	private String productName;
	private double minPrice;
	private double maxPrice;
	private int stock;
	private int sellerId;
	private String promoters;
	private double commission;
	private String startTime;
	private String endTime;
	private int status;
	private String dyCategoryNames;
	private String link;
	public PromotionDto() {
		super();
		// TODO 自动生成的构造函数存根
	}
	public PromotionDto(int id, String productId, String mainPic, String productName, double minPrice, double maxPrice,
			int stock, int sellerId, String promoters, double commission, String startTime, String endTime, int status,
			String dyCategoryNames, String link) {
		super();
		this.id = id;
		this.productId = productId;
		this.mainPic = mainPic;
		this.productName = productName;
		this.minPrice = minPrice;
		this.maxPrice = maxPrice;
		this.stock = stock;
		this.sellerId = sellerId;
		this.promoters = promoters;
		this.commission = commission;
		this.startTime = startTime;
		this.endTime = endTime;
		this.status = status;
		this.dyCategoryNames = dyCategoryNames;
		this.link = link;
	}
	/**
	 * @return id
	 */
	public int getId() {
		return id;
	}
	/**
	 * @param id 要设置的 id
	 */
	public void setId(int id) {
		this.id = id;
	}
	/**
	 * @return productId
	 */
	public String getProductId() {
		return productId;
	}
	/**
	 * @param productId 要设置的 productId
	 */
	public void setProductId(String productId) {
		this.productId = productId;
	}
	/**
	 * @return mainPic
	 */
	public String getMainPic() {
		return mainPic;
	}
	/**
	 * @param mainPic 要设置的 mainPic
	 */
	public void setMainPic(String mainPic) {
		this.mainPic = mainPic;
	}
	/**
	 * @return productName
	 */
	public String getProductName() {
		return productName;
	}
	/**
	 * @param productName 要设置的 productName
	 */
	public void setProductName(String productName) {
		this.productName = productName;
	}
	/**
	 * @return minPrice
	 */
	public double getMinPrice() {
		return minPrice;
	}
	/**
	 * @param minPrice 要设置的 minPrice
	 */
	public void setMinPrice(double minPrice) {
		this.minPrice = minPrice;
	}
	/**
	 * @return maxPrice
	 */
	public double getMaxPrice() {
		return maxPrice;
	}
	/**
	 * @param maxPrice 要设置的 maxPrice
	 */
	public void setMaxPrice(double maxPrice) {
		this.maxPrice = maxPrice;
	}
	/**
	 * @return stock
	 */
	public int getStock() {
		return stock;
	}
	/**
	 * @param stock 要设置的 stock
	 */
	public void setStock(int stock) {
		this.stock = stock;
	}
	/**
	 * @return sellerId
	 */
	public int getSellerId() {
		return sellerId;
	}
	/**
	 * @param sellerId 要设置的 sellerId
	 */
	public void setSellerId(int sellerId) {
		this.sellerId = sellerId;
	}
	/**
	 * @return promoters
	 */
	public String getPromoters() {
		return promoters;
	}
	/**
	 * @param promoters 要设置的 promoters
	 */
	public void setPromoters(String promoters) {
		this.promoters = promoters;
	}
	/**
	 * @return commission
	 */
	public double getCommission() {
		return commission;
	}
	/**
	 * @param commission 要设置的 commission
	 */
	public void setCommission(double commission) {
		this.commission = commission;
	}
	/**
	 * @return startTime
	 */
	public String getStartTime() {
		return startTime;
	}
	/**
	 * @param startTime 要设置的 startTime
	 */
	public void setStartTime(String startTime) {
		this.startTime = startTime;
	}
	/**
	 * @return endTime
	 */
	public String getEndTime() {
		return endTime;
	}
	/**
	 * @param endTime 要设置的 endTime
	 */
	public void setEndTime(String endTime) {
		this.endTime = endTime;
	}
	/**
	 * @return status
	 */
	public int getStatus() {
		return status;
	}
	/**
	 * @param status 要设置的 status
	 */
	public void setStatus(int status) {
		this.status = status;
	}
	/**
	 * @return dyCategoryNames
	 */
	public String getDyCategoryNames() {
		return dyCategoryNames;
	}
	/**
	 * @param dyCategoryNames 要设置的 dyCategoryNames
	 */
	public void setDyCategoryNames(String dyCategoryNames) {
		this.dyCategoryNames = dyCategoryNames;
	}
	/**
	 * @return link
	 */
	public String getLink() {
		return link;
	}
	/**
	 * @param link 要设置的 link
	 */
	public void setLink(String link) {
		this.link = link;
	}
	/* （非 Javadoc）
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "PromottionDto [id=" + id + ", productId=" + productId + ", mainPic=" + mainPic + ", productName="
				+ productName + ", minPrice=" + minPrice + ", maxPrice=" + maxPrice + ", stock=" + stock + ", sellerId="
				+ sellerId + ", promoters=" + promoters + ", commission=" + commission + ", startTime=" + startTime
				+ ", endTime=" + endTime + ", status=" + status + ", dyCategoryNames=" + dyCategoryNames + ", link="
				+ link + "]";
	}
	
	

}
